<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="HealthMonitoring.aspx.cs" Inherits="SQLiteProviderStack.admin.HealthMonitoring" %>


<%@ Register assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" namespace="System.Web.UI.WebControls" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>Health Monitoring</h3><br />
    Minimal detail shown to avoid formatting nightmare
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
        ConnectionString="name=SQLiteProvidersDb" 
        DefaultContainerName="AspNetDbEntities" EnableDelete="True" 
        EntitySetName="WebEvents" EntityTypeFilter="WebEvent">
    </asp:EntityDataSource>
<asp:Button ID="FlushButton" runat="server" onclick="FlushButton_Click" 
    Text="Flush" />
&nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="EntityDataSource1" AllowPaging="True" AllowSorting="True" 
        DataKeyNames="EventId" Font-Names="Arial Narrow">
        <RowStyle Wrap="False" />
        <Columns>
            <asp:CommandField ShowDeleteButton="True" />
            <asp:BoundField DataField="EventId" HeaderText="EventId" 
                SortExpression="EventId" ReadOnly="True" Visible="False" />
            <asp:BoundField DataField="EventTimeUtc" HeaderText="EventTimeUtc" 
                SortExpression="EventTimeUtc" Visible="False" />
            <asp:BoundField DataField="EventTime" HeaderText="EventTime" 
                SortExpression="EventTime" />
            <asp:BoundField DataField="EventType" HeaderText="EventType" 
                SortExpression="EventType" Visible="False" />
            <asp:BoundField DataField="EventSequence" HeaderText="EventSequence" 
                SortExpression="EventSequence" Visible="False" />
            <asp:BoundField DataField="EventOccurrence" HeaderText="EventOccurrence" 
                SortExpression="EventOccurrence" Visible="False" />
            <asp:BoundField DataField="EventCode" HeaderText="EventCode" 
                SortExpression="EventCode" Visible="False" />
            <asp:BoundField DataField="EventDetailCode" HeaderText="EventDetailCode" 
                SortExpression="EventDetailCode" Visible="False" />
            <asp:BoundField DataField="Message" HeaderText="Message" 
                SortExpression="Message" />
            <asp:BoundField DataField="ApplicationPath" HeaderText="ApplicationPath" 
                SortExpression="ApplicationPath" Visible="False" />
            <asp:BoundField DataField="ApplicationVirtualPath" 
                HeaderText="ApplicationVirtualPath" 
                SortExpression="ApplicationVirtualPath" Visible="False" />
            <asp:BoundField DataField="MachineName" HeaderText="MachineName" 
                SortExpression="MachineName" Visible="False" />
            <asp:BoundField DataField="RequestUrl" HeaderText="RequestUrl" 
                SortExpression="RequestUrl" />
            <asp:BoundField DataField="ExceptionType" HeaderText="ExceptionType" 
                SortExpression="ExceptionType" />
            <asp:BoundField DataField="Details" HeaderText="Details" 
                SortExpression="Details" Visible="False" />
        </Columns>
    </asp:GridView>
&nbsp;
</asp:Content>

